import Index from '../containers/Index';
import Home from '../containers/home';
import CarStatus from '../containers/carStatus';
import FixRecord from '../containers/fixRecord';
import CarBaseInfo from '../containers/carBaseInfo';
import VipData from '../containers/VipData';
import Screen from '../containers/screen';
import CarDetailInfo from '../containers/carDetailInfo';
//import IDCard from '../containers/idCard';
//import CarStore from '../containers/carStore';
//import AllCar from '../containers/allCar';
//import CarDataCard from '../containers/carDataCard';
//import CarWorkingData from '../containers/carWorkingData';
//import FindTime from '../containers/findTime';
//import RadarChart from '../containers/radarChart';/
//import MatchRecordTable from '../containers/matchRecordTable';
import FindVip from '../containers/findVip';
import ChangeVipData from '../containers/changeVipData';
import GameVideo from '../containers/gameVideo';

let routerConfig = {
    path:'/',
    component: Index,
    indexRoute:{ component: Home },
    childRoutes:[
        { path: '/CarStatus', component: CarStatus },
        { path: '/FixRecord', component: FixRecord },
        { path: '/CarBaseInfo', component: CarBaseInfo },
        { path: '/VipData', component: VipData },
        { path: '/Screen', component: Screen },
        { path: '/CarDetailInfo', component: CarDetailInfo },
        //{ path: '/idCard', component: IDCard },
        //{ path: '/carStore', component: CarStore },
        //{ path: '/allCar', component: AllCar },
        //{ path: '/carDataCard', component: CarDataCard },
        //{ path: '/carWorkingData', component: CarWorkingData },
        //{ path: '/findTime', component: FindTime },
        //{ path: '/radarChart', component: RadarChart },
        //{ path: '/matchRecordTable', component: MatchRecordTable },
        { path: '/findVip', component: FindVip },
        { path: '/changeVipData', component: ChangeVipData },
        { path: '/gameVideo', component: GameVideo },
    ]


    // childRoutes:[
    //     { path:'/RouterPage1', component: RouterPage1, childRoutes: [
    //         {
    //             path:'/RouterPage1/ChildPage',
    //         },
    //         {
    //             path:'/RouterPage1/ChildPage1', component: ChildPage1
    //         }
    //     ] },
    //     { path: '/LifeCycle', component: LifeCycle },
    //     { path: '/MyComponent', component: MyComponent },
    //     { path: '/MyComponentRedux', component: MyComponentRedux }
    // ]
};

export default routerConfig;

